In /etc/hosts , look for the localhost entry and update it to use your new hostname and the IP address of your machine. If there isn't a localhost entry, add ...
In this tutorial, we will show you how to edit the hosts file in Linux. We will also see several important pointers you should consider when editing the file.
Open a terminal window. · Open the hosts file in a text editor (you can use any text editor) by typing the following line: sudo nano /etc/hosts · Enter your ...
Linux Open a Terminal window. Enter the following command to open the hosts file in a text editor: sudo nano /etc/hosts. Enter your domain user password. Make the necessary changes to the file. Press Control-X. When you are a